import SzLogin from "./Login";
import SzEllipsis from './Ellipsis';
import SzUpload from './Upload';
import SzStepUpload from "./Upload/step";

const components = [SzLogin, SzEllipsis, SzUpload, SzStepUpload];

const install = function (Vue) {
  components.forEach((component) => {
    Vue.component(component.name, component);
  });
};

if (typeof window !== "undefined" && window.Vue) {
  install(window.Vue);
}

export { install, SzLogin, SzEllipsis, SzUpload, SzStepUpload };
